package evde_deneme;

public class Fibonacci {

	public static void main(String[] args) {
		int firstFibo=1;
		int secondFibo=2;
		int FiboToplam=2;
		System.out.print("1");
		do {
			System.out.println(",\n"+FiboToplam);
			FiboToplam=secondFibo+firstFibo;
			firstFibo=secondFibo;
			secondFibo=FiboToplam;
		} while (FiboToplam<4000000);
	}
}


